import { Role } from 'src/global-type';

export const ifManager = new Map()
  .set(Role.ADMIN, true)
  .set(Role.ENTERPRISE, true);

export async function sleep(time: number) {
  return new Promise<void>((resolve) => {
    setTimeout(() => {
      resolve();
    }, time);
  });
}
